package com.cskaoyan.chapter0503.c050301;

import java.time.LocalDate;
import java.util.Date;

/**
 * @Author:WalterChan
 * @Decription:Test3
 * @Date Created in 2024-06-10-19:37
 */
public class Test3 {
    public static void main(String[] args) {
        Date date = new Date();
        int n=0;
        while (n<100000){
            n++;
        }
        Date date2 = new Date();
        System.out.println(date.getTime());
        System.out.println(date2.getTime());
        System.out.println(date2.toString());

        LocalDate now = LocalDate.now();
        System.out.println(now);

        LocalDate before = LocalDate.of(1999, 9, 30);
        System.out.println(before);
        before.getYear();
        before.getMonth();
        before.getDayOfMonth();

    }
}
